from django.urls import path
from . import views

urlpatterns = [
    path('', views.index, name='index'),
    #path('index/', views.index, name='index'),
    
    path('new_question/', views.question_new, name='new question'),
    path('detail/<int:question_id>/new_answer/', views.answer_new, name='new_answer'),   
    path('accounts/signup', views.registration, name="registration"),
    path('detail/<int:question_id>/', views.question_detail, name='question_detail'),
]